function zcbox() {
    	var a = document.getElementById("ename").value;
    	var reg_a = /^\w{3,9}$/;
    	var flag = reg_a.test(a);
    	var s_username = document.getElementById("s_username");
    	if (flag) {

    		s_username.innerHTML = "正确";
    	} else {

    		s_username.innerHTML = "用户名格式有误";
    	}
    	var password = document.getElementById("epwd").value;
    	var reg_password = /^\w{6,12}$/;
    	// 3.判断值是否符合正则的规则
    	var flag = reg_password.test(password);
    	// 4.提示信息
    	var s_password = document.getElementById("s_password");
    	if (flag) {

    		s_password.innerHTML = "密码正确";
    	} else {

    		s_password.innerHTML = "密码格式有误";
    	}
    	var password1 = document.getElementById("epwd1").value;
    	var reg_password1 = /^\w{6,12}$/;
    	// 3.判断值是否符合正则的规则
    	var flag1 = reg_password.test(password1);
    	// 4.提示信息
    	var s_password1 = document.getElementById("s_password1");
    	if (flag) {

    		s_password1.innerHTML = "密码正确";
    	} else {

    		s_password1.innerHTML = "密码格式有误";
    	}
    	var reg = new RegExp("^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$"); //正则表达式
    	var obj = document.getElementById("ema"); //要验证的对象
    	if (obj.value === "") { //输入不能为空
    		s_email.innerHTML="输入不能为空!";
    		
    	} else if (!reg.test(obj.value)) { //正则验证不通过，格式不对
    		s_email.innerHTML="验证不通过!";
    		
    	} else {
    		s_email.innerHTML="通过！";
    		return true;
    	}
		var phone = document.getElementById('phonenum').value;
		    if(!(/^1[3456789]d{9}$/.test(phone))){ 
		        s_number.innerHTML="手机号码有误，请重填";  
		    } 
			
    }
